package com.ruoyi.project.business.socialsecurity.entity;

import java.math.BigDecimal;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.model.BaseEntity;

/**
 * 平台级每年社保基数维护对象 sys_social_security
 * 
 * @author ${author}
 * @date 2024-03-19
 */
@Data
public class SysSocialSecurity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 年 */
    @Excel(name = "年")
    private Integer year;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 城市 */
    @Excel(name = "城市")
    private String cityCode;

    /** 基数 */
    @Excel(name = "基数")
    private BigDecimal baseAmt;

    /** 社保类型
     * {@link  com.ruoyi.common.enums.SocialSecurityType}
     * */
    private Integer type;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("cityName", getCityName())
            .append("cityCode", getCityCode())
            .append("baseAmt", getBaseAmt())
            .toString();
    }
}
